package org.service;

import org.model.User;

/**
 * Created by tedzy on 2015/5/12.
 * User Service
 */
public interface UserService {
    User checkLogin(String username, String password);
    int countUsername(String username);
    boolean addUser(User user);
    User getUser(int uid);
    void update(User user);
}
